package com.iraeta.dao.main;

import com.iraeta.entity.main.ErpMomOrderDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ErpMomOrderDetailDao {
    int deleteByPrimaryKey(Long modid);
    int insert(ErpMomOrderDetail record);
    int updateByPrimaryKey(ErpMomOrderDetail record);
    ErpMomOrderDetail selectByPrimaryKey(Long modid);
    List<ErpMomOrderDetail> selectTopRecord();
    List<ErpMomOrderDetail> selectBySocodeAndInvCode(@Param("socode") String socode, @Param("invcode") String invcode);
}